PMeasureUnits(short cMeasurement, short cVertical, short dCustomPoints);
Matching ruler and text leading. If you specify custom for the cVertical parameter, you can set the vertical ruler to match your leading by specifying the leading value for dCustomPoints. Then, if PSnapToRulers is set to on and the paragraph is set to proportional leading, the baseline of the text will align with tick marks on the ruler.short cMeasurement;
Measurement system for the horizontal ruler and for all coordinates (x- and y-axis), as specified with these values:
kMeasurementInches
kMeasurementDecimalInches
kMeasurementMetric
kMeasurementPica
kMeasurementCicero
kMeasurementCustomshort cVertical;
Measurement system for the vertical ruler, but not for vertical (y-) axis coordinates, as specified with these values:
kMeasurementInches
kMeasurementDecimalInches
kMeasurementMetric
kMeasurementPica
kMeasurementCicero
kMeasurementCustomshort dCustomPoints;
Space, in points, between major tick marks on the vertical ruler if cVertical is kMeasurementCustom
kParmDefault if not defining a custom vertical ruler (cVertical is not kMeasurementCustom) in tenths of a point (250.0 = 2500).
Example. The following example specifies millimeters for the publication measurement system and a custom vertical ruler with major tick marks at 12 -point intervals.
PMeasureUnits(2, custom, 120);
The PGetMeasureUnits query
Adobe PageMaker 6.5 Help > Commands > File > Preferences
Comments or suggestions? Contact Adobe Developer Support